//
//  AuCodeBlock.swift
//  rrrr
//
//  Created by A on 2025/9/20.
//

import Foundation

/// 延迟执行函数
func delay(_ seconds: Double, execute: @escaping () -> Void) {
    DispatchQueue.global().asyncAfter(deadline: .now() + seconds) {
        DispatchQueue.main.async {
            execute()
        }
    }
}
